/*
 * IpPort.h
 *
 *  Created on: 2014年4月1日
 *      Author: song
 */

#ifndef IPPORT_H_
#define IPPORT_H_

#include "cmd.h"
#include "types.h"
#include <string>
class IpPort {
public:
	IpPort();
	virtual ~IpPort();
	static bool Init();

	static std::string  m_IP_SERVER;//server
	static std::string  m_IP_PLUG;//me

	static uint16 m_PORT_UDP_SERVER;//
	static uint16 m_PORT_TCP_PLUG_LISTEN;//


	static uint16 m_PORT_UDP_PLUG;
	static uint16 m_PORT_UDP_USR;

private:
	FILE *m_fd;

};

#endif /* IPPORT_H_ */
